package off_trial

import (
	// "bp/cache"
	sqlc "bp/db/sqlc"
	// "bp/internal/util"
)

func (s *OffTrialEntityServiceImp) MapOffTrialEntityToPtr(list []sqlc.OffTrial) []*sqlc.OffTrial {
	ptrs := make([]*sqlc.OffTrial, len(list))
	for i := range list {
		ptrs[i] = &list[i]
	}
	return ptrs
}

func (s *OffTrialEntityServiceImp) MapOffTrialItemEntityToPtr(list []sqlc.OffTrialItem) []*sqlc.OffTrialItem {
	ptrs := make([]*sqlc.OffTrialItem, len(list))
	for i := range list {
		ptrs[i] = &list[i]
	}
	return ptrs
}